<?php

class BKPay_Soap_Header_Token extends SoapVar{
    public function __construct($api, $code)
    {        
        $auth = new stdClass();
		$auth->api = new SoapVar($api,XSD_STRING);
		$auth->code = new SoapVar($code,XSD_STRING);
		
		parent::SoapVar($auth, SOAP_ENC_OBJECT);
    }
}